package com.wyzz.hr.action;

import java.util.List;

import com.wyzz.hr.base.BaseAction;
import com.wyzz.hr.bo.IEcptypeBO;
import com.wyzz.hr.spring.SpringBeanFactory;

public class PayriseTypeAction extends BaseAction {

	public PayriseTypeAction() {
	}

	public String execute() throws Exception {
		IEcptypeBO ecptypebo = (IEcptypeBO) SpringBeanFactory
				.getBean("ecptypeBO");
		allEcptype = ecptypebo.FindAllEcptype();
		return "success";
	}

	public List getAllEcptype() {
		return allEcptype;
	}

	public void setAllEcptype(List allEcptype) {
		this.allEcptype = allEcptype;
	}

	private List allEcptype;
}
